

#sql("mysql_small_create")
     (
        conflict_id     	varchar(50) not null,
        row_id          	varchar(50) null,
        par_row_id      	varchar(50) null,
        created         	datetime default current_timestamp,
        created_by      	varchar(100) null,
        created_by_name   varchar(100) null,
        last_upd        	datetime,
        last_upd_by     	varchar(100) null,
        last_upd_by_name  varchar(100) null,
        modification_num    int(10) default '0',
        form_id     	varchar(100) null,
        hash_val     	varchar(100) null,
        audit_state     varchar(100) null,
        audit_date      datetime null,
        audit_by        varchar(100) null,
        audit_by_name        varchar(100) null,
        lifenode_id    varchar(100) null,
        eim_source      	varchar(60) default '000000000000000000000000000000000000000000000000000000000000',
        attrib_01       	varchar(100) null,
        attrib_02       	varchar(100) null,
        attrib_03       	varchar(100) null,
        attrib_04       	varchar(100) null,
        attrib_05       	varchar(100) null,
        attrib_06       	varchar(100) null,
        attrib_07       	varchar(100) null,
        attrib_08       	varchar(100) null,
        attrib_09       	varchar(100) null,
        attrib_10       	varchar(100) null,
        attrib_11       	int(18) null,
        attrib_12       	varchar(400) null,
        attrib_13       	varchar(400) null,
        attrib_14       	datetime,
        attrib_15       	char(1) null,
        attrib_16       	char(1) null,
        attrib_17       	decimal(18,2) null,
        attrib_18       	decimal(18,2) null,
        attrib_19       	text null,
        attrib_20       	varchar(2000) null,
        primary key(conflict_id)
       )
#end
#sql("mysql_small_insert")
        insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_01','varchar(100)','普通字符串','0')//
        insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_02','varchar(100)','普通字符串','0')//
        insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_03','varchar(100)','普通字符串','0')//
        insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_04','varchar(100)','普通字符串','0')//
        insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_05','varchar(100)','普通字符串','0')//
        insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_06','varchar(100)','普通字符串','0')//
        insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_07','varchar(100)','普通字符串','0')//
        insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_08','varchar(100)','普通字符串','0')//
        insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_09','varchar(100)','普通字符串','0')//
        insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_10','varchar(100)','普通字符串','0')//
        insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_11','int(18)','整型','0')//
        insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_12','varchar(400)','大字符串','0')//
        insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_13','varchar(400)','大字符串','0')//
        insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_14','datetime','日期型','0')//
        insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_15','char(1)','单字符型','0')//
        insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_16','char(1)','单字符型','0')//
        insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_17','decimal(18,2)','数值型','0')//
        insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_18','decimal(18,2)','数值型','0')//
        insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_19','text','富文本型','0')//
        insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_20','varchar(2000)','文本型','0')
#end
#sql("mysql_middle_create")
       (
	       conflict_id     	 varchar(50) not null,
         row_id          	 varchar(50) null,
         par_row_id      	 varchar(50) null,
         created         	 datetime default current_timestamp,
         created_by      	 varchar(100) null,
         created_by_name   varchar(100) null,
         last_upd        	 datetime,
         last_upd_by     	 varchar(100) null,
         last_upd_by_name  varchar(100) null,
         modification_num  int(11) default 0,
 form_id     	varchar(100) null,
         hash_val     	varchar(100) null,
 audit_state     varchar(100) null,
        audit_date      datetime null,
        audit_by        varchar(100) null,
  audit_by_name        varchar(100) null,
lifenode_id    varchar(100) null,
         eim_source      	 varchar(60) default '000000000000000000000000000000000000000000000000000000000000',
         attrib_01       	 varchar(100) null,
         attrib_02       	 varchar(100) null,
         attrib_03       	 varchar(100) null,
         attrib_04       	 varchar(100) null,
         attrib_05       	 varchar(100) null,
         attrib_06       	 varchar(100) null,
         attrib_07       	 varchar(100) null,
         attrib_08       	 varchar(100) null,
         attrib_09       	 varchar(100) null,
         attrib_10       	 varchar(100) null,
         attrib_11       	 int(18) null,
         attrib_12       	 varchar(400) null,
         attrib_13       	 varchar(400) null,
         attrib_14       	 datetime null,
         attrib_15       	 char(1) null,
         attrib_16       	 char(1) null,
         attrib_17       	 decimal(18,2) null,
         attrib_18       	 decimal(18,2) null,
         attrib_19       	 text null,
         attrib_20       	 varchar(2000) null,
         attrib_21       	 int(18) null,
         attrib_22       	 int(18) null,
         attrib_23       	 decimal(18,2) null,
         attrib_24       	 decimal(18,2) null,
         attrib_25       	 decimal(18,4) null,
         attrib_26       	 datetime null,
         attrib_27       	 datetime null,
         attrib_28       	 datetime null,
         attrib_29       	 datetime null,
         attrib_30       	 datetime null,
         attrib_31       	 varchar(100) null,
         attrib_32       	 varchar(100) null,
         attrib_33       	 varchar(100) null,
         attrib_34       	 varchar(100) null,
         attrib_35       	 varchar(100) null,
         attrib_36       	 varchar(100) null,
         attrib_37       	 varchar(100) null,
         attrib_38       	 varchar(100) null,
         attrib_39       	 varchar(100) null,
         attrib_40       	 varchar(100) null,
         attrib_41       	 varchar(100) null,
         attrib_42       	 varchar(100) null,
         attrib_43       	 varchar(100) null,
         attrib_44       	 varchar(100) null,
         attrib_45       	 varchar(100) null,
         attrib_46       	 varchar(100) null,
         attrib_47       	 varchar(100) null,
         attrib_48       	 varchar(100) null,
         attrib_49       	 varchar(100) null,
         attrib_50       	 varchar(100) null,
         attrib_51       	 varchar(100) null,
         attrib_52       	 varchar(100) null,
         attrib_53       	 varchar(100) null,
         attrib_54       	 varchar(100) null,
         attrib_55       	 char(1) null,
         attrib_56       	 char(1) null,
         attrib_57       	 char(1) null,
         attrib_58       	 varchar(400) null,
         attrib_59       	 varchar(400) null,
         attrib_60       	 text null,
         primary key(conflict_id)
	    )
#end
#sql("mysql_middle_insert")
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_01','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_02','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_03','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_04','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_05','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_06','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_07','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_08','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_09','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_10','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_11','int(18)','整型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_12','varchar(400)','大字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_13','varchar(400)','大字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_14','datetime','日期型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_15','char(1)','单字符型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_16','char(1)','单字符型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_17','decimal(18,2)','数值型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_18','decimal(18,2)','数值型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_19','text','富文本型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_20','varchar(2000)','文本型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_21','int(18)','整型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_22','int(18)','整型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_23','decimal(18,2)','数值型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_24','decimal(18,2)','数值型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_25','decimal(18,4)','数值型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_26','datetime','日期型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_27','datetime','日期型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_28','datetime','日期型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_29','datetime','日期型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_30','datetime','日期型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_31','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_32','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_33','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_34','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_35','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_36','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_37','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_38','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_39','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_40','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_41','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_42','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_43','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_44','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_45','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_46','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_47','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_48','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_49','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_50','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_51','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_52','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_53','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_54','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_55','char(1)','单字符型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_56','char(1)','单字符型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_57','char(1)','单字符型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_58','varchar(400)','大字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_59','varchar(400)','大字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_60','text','富文本型','0')
#end
#sql("mysql_large_create")
      (
	       conflict_id     	varchar(50) not null,
         row_id          	varchar(50) null,
         par_row_id      	varchar(50) null,
         created         	datetime default current_timestamp,
         created_by      	 varchar(100) null,
         created_by_name   varchar(100) null,
         last_upd        	 datetime,
         last_upd_by     	 varchar(100) null,
         last_upd_by_name  varchar(100) null,
         modification_num   int(11) default 0,
 form_id     	varchar(100) null,
         hash_val     	varchar(100) null,
 audit_state     varchar(100) null,
        audit_date      datetime null,
        audit_by        varchar(100) null,
  audit_by_name        varchar(100) null,
lifenode_id    varchar(100) null,
         eim_source      	varchar(100) default '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
         attrib_01       	varchar(100) null,
         attrib_02       	varchar(100) null,
         attrib_03       	varchar(100) null,
         attrib_04       	varchar(100) null,
         attrib_05       	varchar(100) null,
         attrib_06       	varchar(100) null,
         attrib_07       	varchar(100) null,
         attrib_08       	varchar(100) null,
         attrib_09       	varchar(100) null,
         attrib_10       	varchar(100) null,
         attrib_11       	int(18) null,
         attrib_12       	varchar(400) null,
         attrib_13       	varchar(400) null,
         attrib_14       	datetime null,
         attrib_15       	char(1) null,
         attrib_16       	char(1) null,
         attrib_17       	decimal(18,2) null,
         attrib_18       	decimal(18,2) null,
         attrib_19       	text null,
         attrib_20       	varchar(2000) null,
         attrib_21       	int(18) null,
         attrib_22       	int(18) null,
         attrib_23       	decimal(18,2) null,
         attrib_24       	decimal(18,2) null,
         attrib_25       	decimal(18,4) null,
         attrib_26       	datetime null,
         attrib_27       	datetime null,
         attrib_28       	datetime null,
         attrib_29       	datetime null,
         attrib_30       	datetime null,
         attrib_31       	varchar(100) null,
         attrib_32       	varchar(100) null,
         attrib_33       	varchar(100) null,
         attrib_34       	varchar(100) null,
         attrib_35       	varchar(100) null,
         attrib_36       	varchar(100) null,
         attrib_37       	varchar(100) null,
         attrib_38       	varchar(100) null,
         attrib_39       	varchar(100) null,
         attrib_40       	varchar(100) null,
         attrib_41       	varchar(100) null,
         attrib_42       	varchar(100) null,
         attrib_43       	varchar(100) null,
         attrib_44       	varchar(100) null,
         attrib_45       	varchar(100) null,
         attrib_46       	varchar(100) null,
         attrib_47       	varchar(100) null,
         attrib_48       	varchar(100) null,
         attrib_49       	varchar(100) null,
         attrib_50       	varchar(100) null,
         attrib_51       	varchar(100) null,
         attrib_52       	varchar(100) null,
         attrib_53       	varchar(100) null,
         attrib_54       	varchar(100) null,
         attrib_55       	char(1) null,
         attrib_56       	char(1) null,
         attrib_57       	char(1) null,
         attrib_58       	varchar(400) null,
         attrib_59       	varchar(400) null,
         attrib_60       	text null,
         attrib_61       	varchar(100) null,
         attrib_62       	varchar(100) null,
         attrib_63       	varchar(100) null,
         attrib_64       	varchar(100) null,
         attrib_65       	varchar(100) null,
         attrib_66       	varchar(100) null,
         attrib_67       	varchar(100) null,
         attrib_68       	varchar(100) null,
         attrib_69       	varchar(100) null,
         attrib_70       	varchar(100) null,
         attrib_71       	varchar(100) null,
         attrib_72       	varchar(100) null,
         attrib_73       	varchar(100) null,
         attrib_74       	varchar(100) null,
         attrib_75       	varchar(100) null,
         attrib_76       	varchar(100) null,
         attrib_77       	varchar(100) null,
         attrib_78       	varchar(100) null,
         attrib_79       	varchar(100) null,
         attrib_80       	varchar(100) null,
         attrib_81       	varchar(100) null,
         attrib_82       	varchar(100) null,
         attrib_83       	varchar(100) null,
         attrib_84       	varchar(100) null,
         attrib_85       	varchar(100) null,
         attrib_86       	varchar(100) null,
         attrib_87       	varchar(100) null,
         attrib_88       	varchar(100) null,
         attrib_89       	varchar(100) null,
         attrib_90       	varchar(100) null,
         attrib_91       	varchar(400) null,
         attrib_92       	varchar(400) null,
         attrib_93       	varchar(400) null,
         attrib_94       	varchar(400) null,
         attrib_95       	varchar(400) null,
         attrib_96       	varchar(400) null,
         attrib_97       	varchar(400) null,
         attrib_98       	varchar(400) null,
         attrib_99       	varchar(400) null,
         attrib_100      	text null,
         primary key(conflict_id)
	   )
#end
#sql("mysql_large_insert")
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_01','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_02','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_03','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_04','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_05','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_06','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_07','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_08','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_09','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_10','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_11','int(18)','整型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_12','varchar(400)','大字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_13','varchar(400)','大字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_14','datetime','日期型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_15','char(1)','单字符型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_16','char(1)','单字符型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_17','decimal(18,2)','数值型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_18','decimal(18,2)','数值型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_19','text','富文本型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_20','varchar(2000)','文本型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_21','int(18)','整型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_22','int(18)','整型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_23','decimal(18,2)','数值型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_24','decimal(18,2)','数值型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_25','decimal(18,4)','数值型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_26','datetime','日期型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_27','datetime','日期型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_28','datetime','日期型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_29','datetime','日期型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_30','datetime','日期型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_31','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_32','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_33','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_34','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_35','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_36','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_37','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_38','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_39','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_40','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_41','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_42','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_43','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_44','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_45','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_46','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_47','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_48','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_49','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_50','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_51','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_52','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_53','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_54','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_55','char(1)','单字符型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_56','char(1)','单字符型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_57','char(1)','单字符型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_58','varchar(400)','大字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_59','varchar(400)','大字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_60','text','富文本型','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_61','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_62','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_63','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_64','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_65','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_66','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_67','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_68','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_69','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_70','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_71','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_72','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_73','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_74','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_75','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_76','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_77','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_78','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_79','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_80','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_81','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_82','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_83','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_84','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_85','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_86','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_87','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_88','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_89','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_90','varchar(100)','普通字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_91','varchar(400)','大字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_92','varchar(400)','大字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_93','varchar(400)','大字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_94','varchar(400)','大字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_95','varchar(400)','大字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_96','varchar(400)','大字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_97','varchar(400)','大字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_98','varchar(400)','大字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_99','varchar(400)','大字符串','0')//
     insert into ts_datamodel_properties(model_id,model_name,attrib_name,attrib_type,attrib_type_desc,encry_flg)values('$1','$2','attrib_100','text','富文本型','0')
#end
/*----------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------ORACLE---------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
#sql("oracle_small_create")
     (
        conflict_id VARCHAR2(50) primary key,
        ROW_ID VARCHAR2(50),
        PAR_ROW_ID VARCHAR2(50),
        CREATED DATE default sysdate,
        CREATED_BY VARCHAR2(50),
	      CREATED_BY_NAME VARCHAR2(100),
	      LAST_UPD DATE default sysdate,
	      LAST_UPD_BY VARCHAR2(50),
	      LAST_UPD_BY_NAME VARCHAR2(100),
        MODIFICATION_NUM NUMBER default 0,
 FORM_ID     	varchar(100) null,
        HASH_VAL     	varchar(100) null,
 AUDIT_STATE    varchar(100) null,
        AUDIT_DATE      datetime null,
        AUDIT_BY        varchar(100) null,
  AUDIT_BY_NAME        varchar(100) null,
LIFENODE_ID    varchar(100) null,
        EIM_SOURCE VARCHAR2(50) default '00000000000000000000',
        ATTRIB_01 VARCHAR2(100),
        ATTRIB_02 VARCHAR2(100),
        ATTRIB_03 VARCHAR2(100),
        ATTRIB_04 VARCHAR2(100),
        ATTRIB_05 VARCHAR2(100),
        ATTRIB_06 VARCHAR2(100),
        ATTRIB_07 VARCHAR2(100),
        ATTRIB_08 VARCHAR2(100),
        ATTRIB_09 VARCHAR2(100),
        ATTRIB_10 VARCHAR2(100),
        ATTRIB_11 NUMBER(18),
        ATTRIB_12 VARCHAR2(400),
        ATTRIB_13 VARCHAR2(400),
        ATTRIB_14 DATE,
        ATTRIB_15 CHAR(1),
        ATTRIB_16 CHAR(1),
        ATTRIB_17 NUMBER(18,2),
        ATTRIB_18 NUMBER(18,2),
        ATTRIB_19 CLOB,
        ATTRIB_20 VARCHAR2(2000)
       )
#end
#sql("oracle_small_insert")
        insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_01','VARCHAR2(100)','普通字符串','0')//
        insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_02','VARCHAR2(100)','普通字符串','0')//
        insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_03','VARCHAR2(100)','普通字符串','0')//
        insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_04','VARCHAR2(100)','普通字符串','0')//
        insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_05','VARCHAR2(100)','普通字符串','0')//
        insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_06','VARCHAR2(100)','普通字符串','0')//
        insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_07','VARCHAR2(100)','普通字符串','0')//
        insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_08','VARCHAR2(100)','普通字符串','0')//
        insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_09','VARCHAR2(100)','普通字符串','0')//
        insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_10','VARCHAR2(100)','普通字符串','0')//
        insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_11','NUMBER(18)','整数型','0')//
        insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_12','VARCHAR2(400)','大字符串','0')//
        insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_13','VARCHAR2(400)','大字符串','0')//
        insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_14','DATE','日期型','0')//
        insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_15','CHAR(1)','单字符型','0')//
        insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_16','CHAR(1)','单字符型','0')//
        insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_17','NUMBER(18,2)','数值型','0')//
        insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_18','NUMBER(18,2)','数值型','0')//
        insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_19','CLOB','富文本型','0')//
        insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_20','VARCHAR2(2000)','文本型','0')
#end
#sql("oracle_middle_create")
       (
	     conflict_id VARCHAR2(50) primary key,
	     ROW_ID VARCHAR2(50),
	     PAR_ROW_ID VARCHAR2(50),
	     CREATED DATE default sysdate,
	     CREATED_BY VARCHAR2(50),
	     CREATED_BY_NAME VARCHAR2(100),
	     LAST_UPD DATE default sysdate,
	     LAST_UPD_BY VARCHAR2(50),
	     LAST_UPD_BY_NAME VARCHAR2(100),
	     MODIFICATION_NUM NUMBER default 0,
 FORM_ID     	varchar(100) null,
 HASH_VAL     	varchar(100) null,
 AUDIT_STATE    varchar(100) null,
        AUDIT_DATE      datetime null,
        AUDIT_BY        varchar(100) null,
  AUDIT_BY_NAME        varchar(100) null,
LIFENODE_ID    varchar(100) null,
	     EIM_SOURCE VARCHAR2(60) default '000000000000000000000000000000000000000000000000000000000000',
	     ATTRIB_01 VARCHAR2(100),
	     ATTRIB_02 VARCHAR2(100),
	     ATTRIB_03 VARCHAR2(100),
	     ATTRIB_04 VARCHAR2(100),
	     ATTRIB_05 VARCHAR2(100),
	     ATTRIB_06 VARCHAR2(100),
	     ATTRIB_07 VARCHAR2(100),
	     ATTRIB_08 VARCHAR2(100),
	     ATTRIB_09 VARCHAR2(100),
	     ATTRIB_10 VARCHAR2(100),
	     ATTRIB_11 NUMBER(18),
	     ATTRIB_12 VARCHAR2(400),
	     ATTRIB_13 VARCHAR2(400),
	     ATTRIB_14 DATE,
	     ATTRIB_15 CHAR(1),
	     ATTRIB_16 CHAR(1),
	     ATTRIB_17 NUMBER(18,2),
	     ATTRIB_18 NUMBER(18,2),
	     ATTRIB_19 CLOB,
	     ATTRIB_20 VARCHAR2(2000),
	     ATTRIB_21 NUMBER(18),
	     ATTRIB_22 NUMBER(18),
	     ATTRIB_23 NUMBER(18,2),
	     ATTRIB_24 NUMBER(18,2),
	     ATTRIB_25 NUMBER(18,2),
	     ATTRIB_26 DATE,
	     ATTRIB_27 DATE,
	     ATTRIB_28 DATE,
	     ATTRIB_29 DATE,
	     ATTRIB_30 DATE,
	     ATTRIB_31 VARCHAR2(100),
	     ATTRIB_32 VARCHAR2(100),
	     ATTRIB_33 VARCHAR2(100),
	     ATTRIB_34 VARCHAR2(100),
	     ATTRIB_35 VARCHAR2(100),
	     ATTRIB_36 VARCHAR2(100),
	     ATTRIB_37 VARCHAR2(100),
	     ATTRIB_38 VARCHAR2(100),
	     ATTRIB_39 VARCHAR2(100),
	     ATTRIB_40 VARCHAR2(100),
	     ATTRIB_41 VARCHAR2(100),
	     ATTRIB_42 VARCHAR2(100),
	     ATTRIB_43 VARCHAR2(100),
	     ATTRIB_44 VARCHAR2(100),
	     ATTRIB_45 VARCHAR2(100),
	     ATTRIB_46 VARCHAR2(100),
	     ATTRIB_47 VARCHAR2(100),
	     ATTRIB_48 VARCHAR2(100),
	     ATTRIB_49 VARCHAR2(100),
	     ATTRIB_50 VARCHAR2(100),
	     ATTRIB_51 VARCHAR2(100),
	     ATTRIB_52 VARCHAR2(100),
	     ATTRIB_53 VARCHAR2(100),
	     ATTRIB_54 VARCHAR2(100),
	     ATTRIB_55 CHAR(1),
	     ATTRIB_56 CHAR(1),
	     ATTRIB_57 CHAR(1),
	     ATTRIB_58 VARCHAR2(400),
	     ATTRIB_59 VARCHAR2(400),
	     ATTRIB_60 VARCHAR2(2000)
	    )
#end
#sql("oracle_middle_insert")
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_01','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_02','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_03','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_04','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_05','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_06','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_07','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_08','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_09','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_10','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_11','NUMBER(18)','整数型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_12','VARCHAR2(400)','大字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_13','VARCHAR2(400)','大字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_14','DATE','日期型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_15','CHAR(1)','单字符型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_16','CHAR(1)','单字符型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_17','NUMBER(18,2)','数值型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_18','NUMBER(18,2)','数值型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_19','CLOB','富文本型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_20','VARCHAR2(2000)','文本型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_21','NUMBER(18)','整数型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_22','NUMBER(18)','整数型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_23','NUMBER(18,2)','数值型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_24','NUMBER(18,2)','数值型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_25','NUMBER(18,2)','数值型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_26','DATE','日期型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_27','DATE','日期型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_28','DATE','日期型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_29','DATE','日期型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_30','DATE','日期型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_31','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_32','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_33','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_34','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_35','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_36','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_37','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_38','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_39','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_40','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_41','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_42','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_43','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_44','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_45','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_46','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_47','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_48','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_49','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_50','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_51','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_52','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_53','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_54','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_55','CHAR(1)','单字符型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_56','CHAR(1)','单字符型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_57','CHAR(1)','单字符型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_58','VARCHAR2(400)','大字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_59','VARCHAR2(400)','大字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_60','VARCHAR2(2000)','文本型','0')
#end
#sql("oracle_large_create")
      (
	     conflict_id VARCHAR2(50) primary key,
	     ROW_ID VARCHAR2(50),
	     PAR_ROW_ID VARCHAR2(50),
	     CREATED DATE default sysdate,
	     CREATED_BY VARCHAR2(50),
	     CREATED_BY_NAME VARCHAR2(100),
	     LAST_UPD DATE default sysdate,
	     LAST_UPD_BY VARCHAR2(50),
	     LAST_UPD_BY_NAME VARCHAR2(100),
	     MODIFICATION_NUM NUMBER default 0,
 FORM_ID     	varchar(100) null,
 HASH_VAL     	varchar(100) null,
 AUDIT_STATE    varchar(100) null,
        AUDIT_DATE      datetime null,
        AUDIT_BY        varchar(100) null,
  AUDIT_BY_NAME        varchar(100) null,
LIFENODE_ID    varchar(100) null,
	     EIM_SOURCE VARCHAR2(100) default '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
	     ATTRIB_01 VARCHAR2(100),
	     ATTRIB_02 VARCHAR2(100),
	     ATTRIB_03 VARCHAR2(100),
	     ATTRIB_04 VARCHAR2(100),
	     ATTRIB_05 VARCHAR2(100),
	     ATTRIB_06 VARCHAR2(100),
	     ATTRIB_07 VARCHAR2(100),
	     ATTRIB_08 VARCHAR2(100),
	     ATTRIB_09 VARCHAR2(100),
	     ATTRIB_10 VARCHAR2(100),
	     ATTRIB_11 NUMBER(18),
	     ATTRIB_12 VARCHAR2(400),
	     ATTRIB_13 VARCHAR2(400),
	     ATTRIB_14 DATE,
	     ATTRIB_15 CHAR(1),
	     ATTRIB_16 CHAR(1),
	     ATTRIB_17 NUMBER(18,2),
	     ATTRIB_18 NUMBER(18,2),
	     ATTRIB_19 CLOB,
	     ATTRIB_20 VARCHAR2(2000),
	     ATTRIB_21 NUMBER(18),
	     ATTRIB_22 NUMBER(18),
	     ATTRIB_23 NUMBER(18,2),
	     ATTRIB_24 NUMBER(18,2),
	     ATTRIB_25 NUMBER(18,2),
	     ATTRIB_26 DATE,
	     ATTRIB_27 DATE,
	     ATTRIB_28 DATE,
	     ATTRIB_29 DATE,
	     ATTRIB_30 DATE,
	     ATTRIB_31 VARCHAR2(100),
	     ATTRIB_32 VARCHAR2(100),
	     ATTRIB_33 VARCHAR2(100),
	     ATTRIB_34 VARCHAR2(100),
	     ATTRIB_35 VARCHAR2(100),
	     ATTRIB_36 VARCHAR2(100),
	     ATTRIB_37 VARCHAR2(100),
	     ATTRIB_38 VARCHAR2(100),
	     ATTRIB_39 VARCHAR2(100),
	     ATTRIB_40 VARCHAR2(100),
	     ATTRIB_41 VARCHAR2(100),
	     ATTRIB_42 VARCHAR2(100),
	     ATTRIB_43 VARCHAR2(100),
	     ATTRIB_44 VARCHAR2(100),
	     ATTRIB_45 VARCHAR2(100),
	     ATTRIB_46 VARCHAR2(100),
	     ATTRIB_47 VARCHAR2(100),
	     ATTRIB_48 VARCHAR2(100),
	     ATTRIB_49 VARCHAR2(100),
	     ATTRIB_50 VARCHAR2(100),
	     ATTRIB_51 VARCHAR2(100),
	     ATTRIB_52 VARCHAR2(100),
	     ATTRIB_53 VARCHAR2(100),
	     ATTRIB_54 VARCHAR2(100),
	     ATTRIB_55 CHAR(1),
	     ATTRIB_56 CHAR(1),
	     ATTRIB_57 CHAR(1),
	     ATTRIB_58 VARCHAR2(400),
	     ATTRIB_59 VARCHAR2(400),
	     ATTRIB_60 VARCHAR2(2000),
	     ATTRIB_61 VARCHAR2(100),
	     ATTRIB_62 VARCHAR2(100),
	     ATTRIB_63 VARCHAR2(100),
	     ATTRIB_64 VARCHAR2(100),
	     ATTRIB_65 VARCHAR2(100),
	     ATTRIB_66 VARCHAR2(100),
	     ATTRIB_67 VARCHAR2(100),
	     ATTRIB_68 VARCHAR2(100),
	     ATTRIB_69 VARCHAR2(100),
	     ATTRIB_70 VARCHAR2(100),
	     ATTRIB_71 VARCHAR2(100),
	     ATTRIB_72 VARCHAR2(100),
	     ATTRIB_73 VARCHAR2(100),
	     ATTRIB_74 VARCHAR2(100),
	     ATTRIB_75 VARCHAR2(100),
	     ATTRIB_76 VARCHAR2(100),
	     ATTRIB_77 VARCHAR2(100),
	     ATTRIB_78 VARCHAR2(100),
		   ATTRIB_79 VARCHAR2(100),
	     ATTRIB_80 VARCHAR2(100),
	     ATTRIB_81 VARCHAR2(100),
	     ATTRIB_82 VARCHAR2(100),
	     ATTRIB_83 VARCHAR2(100),
	     ATTRIB_84 VARCHAR2(100),
	     ATTRIB_85 VARCHAR2(100),
	     ATTRIB_86 VARCHAR2(100),
	     ATTRIB_87 VARCHAR2(100),
	     ATTRIB_88 VARCHAR2(100),
	     ATTRIB_89 VARCHAR2(100),
	     ATTRIB_90 VARCHAR2(100),
	     ATTRIB_91 VARCHAR2(100),
	     ATTRIB_92 VARCHAR2(100),
	     ATTRIB_93 VARCHAR2(400),
	     ATTRIB_94 VARCHAR2(400),
	     ATTRIB_95 VARCHAR2(400),
	     ATTRIB_96 VARCHAR2(400),
	     ATTRIB_97 VARCHAR2(400),
	     ATTRIB_98 VARCHAR2(400),
	     ATTRIB_99 VARCHAR2(2000),
	     ATTRIB_100 CLOB
	   )
#end
#sql("oracle_large_insert")
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_01','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_02','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_03','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_04','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_05','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_06','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_07','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_08','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_09','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_10','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_11','NUMBER(18)','整数型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_12','VARCHAR2(400)','大字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_13','VARCHAR2(400)','大字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_14','DATE','日期型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_15','CHAR(1)','单字符型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_16','CHAR(1)','单字符型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_17','NUMBER(18,2)','数值型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_18','NUMBER(18,2)','数值型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_19','CLOB','富文本型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_20','VARCHAR2(2000)','文本型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_21','NUMBER(18)','整数型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_22','NUMBER(18)','整数型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_23','NUMBER(18,2)','数值型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_24','NUMBER(18,2)','数值型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_25','NUMBER(18,2)','数值型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_26','DATE','日期型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_27','DATE','日期型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_28','DATE','日期型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_29','DATE','日期型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_30','DATE','日期型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_31','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_32','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_33','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_34','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_35','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_36','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_37','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_38','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_39','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_40','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_41','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_42','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_43','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_44','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_45','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_46','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_47','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_48','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_49','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_50','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_51','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_52','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_53','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_54','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_55','CHAR(1)','单字符型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_56','CHAR(1)','单字符型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_57','CHAR(1)','单字符型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_58','VARCHAR2(400)','大字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_59','VARCHAR2(400)','大字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_60','VARCHAR2(2000)','文本型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_61','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_62','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_63','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_64','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_65','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_66','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_67','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_68','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_69','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_70','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_71','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_72','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_73','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_74','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_75','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_76','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_77','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_78','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_79','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_80','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_81','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_82','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_83','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_84','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_85','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_86','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_87','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_88','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_89','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_90','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_91','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_92','VARCHAR2(100)','普通字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_93','VARCHAR2(400)','大字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_94','VARCHAR2(400)','大字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_95','VARCHAR2(400)','大字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_96','VARCHAR2(400)','大字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_97','VARCHAR2(400)','大字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_98','VARCHAR2(400)','大字符串','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_99','VARCHAR2(2000)','文本型','0')//
     insert into TS_DATAMODEL_PROPERTIES(ID,MODEL_ID,MODEL_NAME,ATTRIB_NAME,ATTRIB_TYPE,ATTRIB_TYPE_DESC,ENCRY_FLG)values(SEQ_TS_DATAMODEL_PROPERTIES.nextval,'$1','$2','ATTRIB_100','CLOB','富文本型','0')
#end
#sql("oracle_sequence")
        INCREMENT BY 1 START WITH 100000000 NOMINVALUE NOCYCLE
#end

#sql("udmkey")
  select conflict_id,
          ATTRIB_01,
          ATTRIB_02,
          ATTRIB_20
     FROM TS_UDMKEY
          WHERE ATTRIB_01 = #para(partyName) ORDER BY conflict_id
#end

#sql("datamodel")
  SELECT ID
          ,MODEL_ID
          ,MODEL_NAME
          ,ATTRIB_NAME
          ,ATTRIB_DESCN
          ,ATTRIB_TYPE
          ,ATTRIB_TYPE_DESC
          ,CASE WHEN ifnull(CODE_NAME,'') = '' THEN '' ELSE concat(CODE_NAME,'|',CODE_CUSTOMID) END  CODE_NAME
          ,CODE_LEAF
          ,CASE WHEN state = 1  THEN '锁定'
                WHEN state = 0 or state is null THEN '激活'
                ELSE 'ERROR'
           END STATE_CN
           ,HAND_FLG,REMARK,SURVIVAL_RULE
    FROM TS_DATAMODEL_PROPERTIES
    WHERE MODEL_ID = #para(modelId)

    #if(state)
      ### 发现有些字段已被使用中, 但state未NULL, 所以增加了以下这样的判断
      #if(state == '1')
       and (state = 1 or ((attrib_descn is not null or attrib_descn != '') and state is null))
      #else
       and (state = 0 or (state is null and (attrib_descn is null or attrib_descn = '')))
      #end
    #end

    #if(attrNum)
      and attrib_name like concat(concat('%', #para(attrNum)), '%')
    #end

    ORDER BY ID
#end